package com.ylq.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

/**
 * @Author 模块类
 * @Description TODO
 * @Date 2020-04-30
 **/


@Alias("modules")
public class Modules {
    private int id;//ID
    private String title;//模块名称
    private boolean checked;//是否选中
    private int parentId;//父模块id
    private String path;//模块对应的路径
    private int weight;//权重整数
    private String int0;
    private String string0;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public String getInt0() {
        return int0;
    }

    public void setInt0(String int0) {
        this.int0 = int0;
    }

    public String getString0() {
        return string0;
    }

    public void setString0(String string0) {
        this.string0 = string0;
    }
}
